package com.ysd.message.fegin;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.ysd.common.entity.User;
import com.ysd.message.feginImpl.UserFeginClientCallBack;

@FeignClient(name = "shop-service-shiro", 			//指定需要调用的微服务名称
fallback = UserFeginClientCallBack.class)	//指定熔断：声明降级方法	
public interface UserFeginClient {
	//调用的请求路径
	@RequestMapping(value = "/back/queryAllUserWitchMessageSelect")
	public List<User> queryAllUserWitchOrderIndoSelect();
}
